Carbon


SetCollectionExceptionProc

Header: Collections.h Carbon status: Supported

Installs an exception procedure in a collection object.

void SetCollectionExceptionProc (
    Collection c, 
    CollectionExceptionUPP exceptionProc
);
Parameter descriptions
c

A reference to the collection object whose exception procedure you want to change. The behavior of this function is undefined if you do not provide a reference to a valid collection object.

exceptionProc

A pointer to the new exception procedure.

DISCUSSION

The SetCollectionExceptionProc function copies the function pointer from the exceptionProc parameter into the collection object referenced by the c parameter.

To obtain a pointer to an existing exception procedure in a collection object, use the GetCollectionExceptionProc function.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)